
import { exportExcel, importExcel } from '@/service/excelHttp.js'
const host = import.meta.env.VITE_BASE_URL

/* 导出excel */
const exportExcelHttp = {
    testExport: (params) => {
        return exportExcel(host, 'test/export', 'post', params, '课程模板')
    }
}

/* 导入excel */
const importExcelHttp = {
    testImport: (params) => {
        return importExcel(host, 'test/import', 'post', params)
    }
}

export { exportExcelHttp, importExcelHttp }
